www.gusucode.com > 落叶冰点万能企业网站内容管理系统 V9.1 > 落叶冰点万能企业网站内容管理系统 V9.1\code\admin\admin_usergroup\D_chk_add_user.asp
<% '************************************************************** ' 新动软网站管理系统 ' 官方网站: http://www.aspcpu.com ' 系统作者: 阮丁远(网名:天下程序) ' Copyright 新动软网站管理系统 版权所有 '************************************************************** %> <LINK href="../css.css" type=text/css rel=stylesheet> <% dir_set="../../" %> <!--#include file=../../inc/conn.asp--> <!--#include file=../../inc/Functionb.asp--> <!--#include file=../../inc/ajaxLIB.asp--> <!--#include file=../inc/checkadmin2.asp--> <!--#include file=../../inc/functionFiless.asp--> <!--#include file="../../inc/new_md5.asp"--> <% AJAXshowLoader() %> <% biao="[ND_user]" sys_content_type=trim(request("sys_content_type")) if find_dataw("qitashezhi123","0",14)<>"1" and qx_if_max=0 then response.redirect "../D_suodinguser.asp" end if err1=0 if request("nam")="" then err1=1 %> <script language="javascript"> alert("请填写用户名"); history.go(-1); </script> <% end if if request("pwd")="" then err1=1 %> <script language="javascript"> alert("请填写用户密码"); history.go(-1); </script> <% end if if request("dian")="" or isnumeric(request("dian"))=0 then err1=1 %> <script language="javascript"> alert("用户点数 必须为数字且必填"); history.go(-1); </script> <% end if Function ChkNumeric(CHECK_ID) IF CHECK_ID = "1" or CHECK_ID =1 Then ChkNumeric = "1" Else ChkNumeric = "0" End If if CHECK_ID ="" then ChkNumeric = "0" end if End Function Function ChkFormStr(ByVal str) Dim fString fString = str If IsNull(fString) Then ChkFormStr = "" Exit Function End If fString = Replace(fString, "'", "'") fString = Replace(fString, Chr(34), """) fString = Replace(fString, Chr(13), "") fString = Replace(fString, Chr(10), "") fString = Replace(fString, Chr(9), "") fString = Replace(fString, ">", ">") fString = Replace(fString, "<", "<") fString = Replace(fString, " ", " ") ChkFormStr = fString End Function Function Formatime(ByVal datime) datime = Trim(Replace(Trim(datime), vbNewLine, "")) If Not IsDate(datime) Then Formatime = Now() Exit Function End If If Len(datime) < 11 Then Formatime = CDate(datime & " " & FormatDateTime(Now, 3)) Else Formatime = CDate(datime) End If Exit Function End Function if err1=0 then G_sys_type="sys" globl_to_url="" needshowerr=1 %> <!--#include file="../../inc/ND_mix_reg.asp"--> <% if usddd<>"" then %> <script language="javascript"> alert("添加成功"); self.location="D_admin_user.asp"; </script> <% end if end if %> <% AJAXcloseLoader() %>